<%@ page contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>

<sql:update dataSource="jdbc/oracle11xe">
	delete from board where bdno=?
	<sql:param value="${param.bdno}"/>
	<%-- view.jsp?bdno=123에서 삭제하기 클릭시 --%>
	<%-- delete.jsp?bdno=123 으로 이동 --%>
</sql:update>

<c:redirect url="list.jsp" />









